Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: getdocumentbyid type mismatch error
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Always

It's a simple agent that takes a noteid from a calling agent. I can print the noteID, but the getdocumentbyid always fails with a type mismatch error.

Dim doc As NotesDocument
Dim s As New NotesSession
Dim ag As NotesAgent
Dim noteid As String
Set db = s.CurrentDatabase
Set ag = s.CurrentAgent
noteid = ag.ParameterDocID

Print noteid
Set doc = db.GetDocumentByID(noteid)
I even tried
Set doc = db.GetDocumentByID(CStr(noteid))


Feedback number WEBB8X266D created by ~Holly Asafanazenakoi on 08/10/2012

Status: Open
Comments:

getdocumentbyid type mismatch error... (~Holly Asafanaz... 10.Aug.12)
. . variant worked .. go figure (~Holly Asafanaz... 10.Aug.12)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS